import Vue from 'vue'
import Vuex from "vuex"
Vue.use(Vuex)

const state={
    cityName:"北京",
}
const mutations={
    cName(state,itemName){
        state.cityName = itemName
    }
}
export default new Vuex.Store({
    state,
    mutations
})